package com.alisls.shequtao.service.goods.exception;

import com.alisls.shequtao.common.core.exception.CommonException;
import com.alisls.shequtao.service.goods.constant.ProductExceptionEnum;

/**
 * 商品类型异常
 *
 * @author Ke Wang
 */
public class SaveCategoryException extends CommonException {

    private SaveCategoryException() {
        super(ProductExceptionEnum.SAVE_CATEGORY_ERROR.getMsg());
    }

    public static SaveCategoryException instance() {
        return new SaveCategoryException();
    }

}
